package main.java.ERMDE.controllers;

import main.java.ERMDE.controllers.listeners.IRelationshipEventListener;
import main.java.ERMDE.models.Relationship;
import main.java.ERMDE.views.IRelationshipView;

public interface IRelationshipController {

	void create();

	void addCreateListener(IRelationshipEventListener listener);

	void setName(String name);

	String getName();

	void isComposition(boolean composition) throws Exception;

	boolean isComposition();

	void add() throws Exception;

	void setRelationshipView(IRelationshipView view);

	void create(Relationship relationship);

}
